package lombok;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class Demo1 extends DemoFather {

private  String k;
private  int m;


    public void test (int i ,int j){
        i++;j++;
    }

    public Demo1(String k, int m,int c) {
        super(c);
        this.k = k;
        this.m = m;
    }

    public Demo1(int c, String k, int m) {
        super(c);
        this.k = k;
        this.m = m;
    }

    public String getK() {
        return k;
    }

    public void setK(String k) {
        this.k = k;
    }

    public int getM() {
        return m;
    }

    public void setM(int m) {
        this.m = m;
    }
}
